/*
 * @Author: lg9527 13691080728@126.com
 * @Date: 2024-03-26 10:48:25
 * @LastEditors: lg9527 13691080728@126.com
 * @LastEditTime: 2024-04-02 10:13:53
 * @FilePath: \cmjyxpcfront\src\router\routes\modules\demo\housemap.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 房屋隐患管理
import type { AppRouteModule } from '/@/router/types';

import { getParentLayout, LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const charts: AppRouteModule = {
  path: '/housemap',
  name: 'housemap',
  component: LAYOUT,
  redirect: '/housemap/housemap',
  meta: {
    orderNo: 403,
    icon: 'ion:bar-chart-outline',
    title: t('routes.demo.housemap.root'),
    roles: ['Admin', 'City', 'Area', 'Street', 'Community', 'Investigator'],
    userGroups: ['Admin'],
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'housemap',
      name: 'housemap',
      meta: {
        title: t('routes.demo.housemap.root'),
        hideChildrenInMenu: true,
        roles: ['Admin', 'City', 'Area', 'Street', 'Community'],
        userGroups: ['Admin'],
      },
      component: () => import('/@/views/houseStat/indexpc.vue'),
    },
  ],
};

export default charts;
